package com.remote.server;


import com.remote.common.DefaultRemoteFactory;
import com.remote.common.RemoteFactory;

public class RemoteServerMian {
    public static void main(String[] args) throws InterruptedException {
        RemoteServerConfiguration remoteConfiguration = new RemoteServerConfiguration();
        remoteConfiguration.setHost("0.0.0.0");
        remoteConfiguration.setPort(9000);
        RemoteFactory remoteFactory = new DefaultRemoteFactory(remoteConfiguration);
        RemoteServer remoteServer = new RemoteServer(remoteFactory);
        remoteServer.connect();
    }
}
